package com.four.service.impl;

import com.four.dao.IMemberDao;
import com.four.dao.MemberKDao;
import com.four.pojo.Member;
import com.four.service.IMemberKDService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 于志豪
 * @create 2021-10-29 9:12
 */

@Service("memberKDServiceImpl")
public class MemberKDServiceImpl implements IMemberKDService {
    @Autowired
    @Qualifier("memberKDao")
    private MemberKDao memberKDao;


    @Override
    public List<Member> findAllKD(Member member) {
        return memberKDao.findAllKD(member);
    }
}
